/**
 * 通用混合
 * */
export default {
    data () {
        return {
            defaultcity: []
        };
    },
    mounted () {
        let Projectid = localStorage.getItem('currentProject');
        let Projectcity = JSON.parse(localStorage.getItem('project'));
        for (let item of Projectcity) {
            if (+Projectid === +item.project_id && item.city_name !== '') {
                this.defaultcity = [
                    {
                        key: item.default_city,
                        value: item.default_city,
                        label: item.city_name
                    }
                ];
            }
        }
        this.defaultcityname();
    },
    methods: {}
};
